package com.czh.springboot04.service;

import com.czh.springboot04.entity.FM;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FMService {
    int fmAdd(FM fm);
    int fmUpdate(FM fm);
    int fmDelete(int id);
    PageInfo<FM> fmSelectAll(int pageNum, int pageSize);
    PageInfo<FM> fmByMoreTable(int pageNum, int pageSize);
    PageInfo<FM> fmSelectByName(int pageNum, int pageSize,String name);
}
